home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Tool Chest / Development Kits / MPW etc. / MPW-PR / MPW / Tools / MrCpp / MrCpp.rsrc / STR#_666.txt < prev    next >
Encoding:
Text File  |  1998-06-04  |  9.7 KB  |  249 lines

  1. ^^^^^^^^^^^^^
  2.  
  3.  
  4.  
  5.     -y directory            # write compiler temporary and object files to directory (default:same as source file)
  6.  
  7.     -xi spec                # instantiate the specified template
  8.  
  9.     -xa extern              # templates are not expanded in the current compilation unit
  10.  
  11.     -xa static              # template expansions have static scope (default)
  12.  
  13.     -xa public              # template expansions have public scope
  14.  
  15.     -x                      # continue past the normal maximum error limit (4)
  16.  
  17.     -w n1[,n2‚Ķ]             # suppress the specified warning messages
  18.  
  19.     -w [is]err[or]          # treat warnings as errors
  20.  
  21.     -w off                  # suppress all warnings
  22.  
  23.        ,novrsave]           #   do not maintain VRsave in prologs and epilogs
  24.  
  25.       [,vrsave |            #   maintain VRsave in prologs and epilogs (default if -vector on)
  26.  
  27.     -vec[tor] on            # accept vector functions and types
  28.  
  29.     -vec[tor] off           # do not accept vector functions and types (default)
  30.  
  31.     -unique_strings         # force all string constants to be unique
  32.  
  33.     -u name[,‚Ķ]             # #undef name, where name is a predefined non-ANSI macro name
  34.  
  35.     -u all                  # #undef all predefined non-ANSI macros
  36.  
  37.     -traceback              # generate IBM RS/6000 traceback tables
  38.  
  39.     -tb outofline           # generate IBM RS/6000 traceback tables only for #pragma outofline functions
  40.  
  41.     -tb exp[ort]            # generate IBM RS/6000 traceback tables only for #pragma export functions
  42.  
  43.     -tb pragma              # generate IBM RS/6000 traceback tables only for #pragma traceback functions 
  44.  
  45.     -tb on                  # generate IBM RS/6000 traceback tables (same as -traceback)
  46.  
  47.     -target 604             # generate code for PowerPC 604
  48.  
  49.     -target 603             # generate code for PowerPC 603
  50.  
  51.     -target 601             # generate code for PowerPC 601
  52.  
  53.     -target power           # generate code for Power architecture
  54.  
  55.     -target ppc | powerpc   # generate code for PowerPC architecture
  56.  
  57.         [,alltypes]         #   generate type information for all types (including unreferenced types)
  58.  
  59.         [,novars]           #   omit variable information
  60.  
  61.         [,notypes]          #   omit type information
  62.  
  63.         [,nolines]          #   omit source line information
  64.  
  65.     -sym on | full          # enable generation of symbolic debugging information
  66.  
  67.     -sym off                # disable generation of symbolic debugging information (default)
  68.  
  69.     -som                    # enable direct-to-SOM
  70.  
  71.     -shared_lib_export off  # don't create shared library (default)
  72.  
  73.     -shared_lib_export on   # create a shared library and create file that contains entry point list
  74.  
  75.     -rtti on | off          # enable/disable run-time type information (RTTI, default on)
  76.  
  77.                [,pathname‚Ķ] #
  78.  
  79.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  80.  
  81.     -poolstringsbyfunc      # string constants are associated with their functions instead of compilation unit
  82.  
  83.     -p                      # output progress information to the standard error file
  84.  
  85.        [,warn_maybe_uninit] #   warn about variables which may used before set
  86.  
  87.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  88.  
  89.        [,nointer]           #   as above, but no interprocedural optimizations
  90.  
  91.                             #     and redundant store elimination
  92.  
  93.        [,norep]             #   as above, but do not repeatedly apply global copy propagation
  94.  
  95.        [,unswitch]          #   as above, apply loop unswitching
  96.  
  97.        [,unroll]            #   as above, plus loop unrolling
  98.  
  99.     -opt speed              # optimize for speed
  100.  
  101.        [,warn_maybe_uninit] #   warn about variables which may used before set
  102.  
  103.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  104.  
  105.     -opt size               # optimize for size
  106.  
  107.     -opt local              # perform local optimizations (default with -sym off)
  108.  
  109.     -opt off                # suppress all optimizations (default with -sym on)
  110.  
  111.     -o filename | dirname:  # specify output filename or directory
  112.  
  113.     -notOnce                # allow multiple copies of header files
  114.  
  115.     -noMapCR                # changes the default mapping of \n to 0x0A and \r to 0x0D
  116.  
  117.     -make filename          # generate Make dependency rules into the specified file
  118.  
  119.     -load[c] filename       # restore the state of the compilation from the specified file
  120.  
  121.     -ldsize 64 | 128        # determines the size of long doubles (default = 64)  
  122.  
  123.     -l filename             # generates a listing to the specified file (need -e for macro expansions)
  124.  
  125.     -j2                     # accept two byte sequences for Korean
  126.  
  127.     -j1                     # accept two byte sequences for Taiwanese or Chinese
  128.  
  129.     -j0                     # accept two byte sequences for Japanese
  130.  
  131.     -ir pathname[,‚Ķ]        # recursively search for include files in directory specified by pathname
  132.  
  133.             4 | 5           #
  134.  
  135.     -inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
  136.  
  137.     -inline none | off      # inlining of C++ function expansions will be suppressed
  138.  
  139.     -inline on              # functions are inlined as defined in the C++ source (default) 
  140.  
  141.     -inline all             # functions are inlined wherever possible, regardless of cost 
  142.  
  143.               nosystem      #   "     "      "        "      "    "       "
  144.  
  145.               nosys |       #   "     "      "        "      "    "       "  
  146.  
  147.               ignoresystem |#   "     "      "        "      "    "       "      
  148.  
  149.     -inclpath ignoresys |   # treat <...> includes exactly like "..." includes
  150.  
  151.               | standard    #   "     "      "      "   "       "
  152.  
  153.     -inclpath normal | std  # treat <...> includes as system includes
  154.  
  155.     -ignorepragma id,‚Ķ      # ignore #pragmas with the specified #pragma id's
  156.  
  157.     -ieee relaxed | strict  # control strict adherence to IEEE floating point semantics
  158.  
  159.     -i pathname[,pathname‚Ķ] # search for include files in directory specified by pathname
  160.  
  161.     -maf off                #   "      "               "             "
  162.  
  163.     -fp_contract off        # don't generate multiply-add-fused instructions
  164.  
  165.     -maf on                 #    "               "             "           "
  166.  
  167.     -fp_contract on         # generate multiply-add-fused instructions (default)
  168.  
  169.     -fatext                 # add ‚Äú.ppc.o‚Äù extension to object filename instead of ‚Äú.o‚Äù
  170.  
  171.                             #  (used in conjunction with -shared_lib_export). default: <source filename>.x
  172.  
  173.     -export_list filename   # specify the file which contains a list of the shared library's exported entry points
  174.  
  175.     -exceptions on | off    # enable/disable exception handling (default off)
  176.  
  177.     -ER                     # enable run-time type identification (RTTI, same as -rtti on)
  178.  
  179.     -enum min               # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
  180.  
  181.     -enum int               # use int-sized enumeration types
  182.  
  183.     -EH                     # enable exception handling (same as -exceptions on) 
  184.  
  185.     -e                      # if -l is specified, show macro expansions in listing
  186.  
  187.     -dump[c] filename       # save the state of the compilation in the specified file
  188.  
  189.     -d[efine] name=value    # define a preprocessing symbol. Equivalent to #define name value.
  190.  
  191.     -d[efine] name          # define a preprocessing symbol. Equivalent to #define name 1.
  192.  
  193.                             #   and output files.  The -y option has precedence over the -currdir option.
  194.  
  195.     -curdir                 # use current (working) directory for the compiler temporary
  196.  
  197.     -c                      # Syntax check only.  No XCOFF file is generated.
  198.  
  199.     -char unsignedx         # treat char type as unsigned, and sign extend the values
  200.  
  201.     -char unsigned          # treat char type as unsigned
  202.  
  203.     -char signed            # treat char type as signed (default)
  204.  
  205.     -bool off               # 'bool', 'true', 'false' are normal identifiers (default)
  206.  
  207.     -bool on                # enable C++ 'bool', 'true', and 'false' as standard keywords 
  208.  
  209.     -asm                    # generate an assembly listing of the generated code
  210.  
  211.     -aslm                   # for ASLM compatibility, reverts to old vtable format(incompatible with exceptions)
  212.  
  213.     -ansifor                # limit for-statement declared initializer to the for body
  214.  
  215.     -ansi strict            # same as -ansi on, but size of enums is always an int
  216.  
  217.                             #   in E.T.O./MPW Pro Release Notes for complete list of features and restrictions.) 
  218.  
  219.                             #   ‚Äú__machdl‚Äù, ‚Äúasm‚Äù, and ‚Äúpascal‚Äù. (See MrC and MRCpp chapter
  220.  
  221.                             #   be recognized: ‚Äú__handle‚Äù, ‚Äú_inf‚Äù, ‚Äú__nan‚Äù, ‚Äú__nans‚Äù,
  222.  
  223.                             #   store the enum values. The following keywords will not
  224.  
  225.     -ansi on | relaxed      # size of enums is determined by minimum size needed to
  226.  
  227.                             #  Users Guide.)
  228.  
  229.     -ansi off               # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
  230.  
  231.     -alloca                 # recognize 'alloca' as a built in function
  232.  
  233.     -align byte | packed    # use byte alignment for data structures
  234.  
  235.     -align mac68k           # specify 68K alignment for data structures
  236.  
  237.     -align power            # specify power alignment for data structures (default)
  238.  
  239.            [,type]          # Enable pointer alias analysis by data type
  240.  
  241.            [,ansi]          # Enable pointer alias analysis by ANSI rules
  242.  
  243.     -alias [addr]           # Enable pointer alias analysis by distinct address
  244.  
  245.     -alias off              # Disable pointer alias analysis (default)
  246.  
  247. MrCpp [options‚Ķ] file
  248.  
  249.